<script setup lang='ts'>
import { ref } from 'vue';

const person = ref<{ name: string, age: number }>({
    name: '张三',
    age: 20
})
</script>

<template>
    <div>
        <h2>简单版本</h2>
        <slot name="row" :p="person"></slot>
    </div>
</template>

<style scoped></style>